<!DOCTYPE html><html><head><title>概况</title><meta charset='utf-8'><link href='https://dn-maxiang.qbox.me/res-min/themes/marxico.css' rel='stylesheet'><style></style></head><body><div id='preview-contents' class='note-content'>
                        
                    

<h2 id="概况">概况</h2>

<blockquote>
  <p>共 <code>search</code>  <code>onTabChange</code> 两个接口</p>
</blockquote>



<h3 id="search"><code>search</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">根据请求条件，查询并返回结果<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs crystal"><span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/115.159.207.95:9080/bi</span><span class="hljs-regexp">/overviewReport/search</span>.<span class="hljs-keyword">do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs 1c"><span class="hljs-number">1</span>. dstart : <span class="hljs-string">"2017-06-01"</span>       <span class="hljs-meta"># 开始时间 </span><br><span class="hljs-number">2</span>. dend : <span class="hljs-string">"2017-06-07"</span>         <span class="hljs-meta"># 结束时间</span><br><span class="hljs-number">3</span>. callback : <span class="hljs-string">""</span><br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs dts">{<br><span class="hljs-symbol">    res:</span> <span class="hljs-string">"0"</span>,<br><span class="hljs-symbol">    yesterdayDatas:</span> [    <span class="hljs-meta"># 昨日数据</span><br>        {<br><span class="hljs-symbol">            activeArpuRadio:</span> <span class="hljs-string">"-"</span>,             <span class="hljs-meta"># 活跃ARPU      </span><br><span class="hljs-symbol">            activeDeviceRadio:</span> <span class="hljs-string">"-"</span>,           <span class="hljs-meta"># 激活设备</span><br><span class="hljs-symbol">            activeUserRadio:</span> <span class="hljs-string">"-"</span>,             <span class="hljs-meta"># 活跃帐号</span><br><span class="hljs-symbol">            newDeviceRadio:</span> <span class="hljs-string">"-"</span>,              <span class="hljs-meta"># 新增设备</span><br><span class="hljs-symbol">            newOnActiveDevcieRadio:</span> <span class="hljs-string">"-"</span>,      <span class="hljs-meta"># 激活-新增转化率</span><br><span class="hljs-symbol">            newOnActiveDevcieRadioRadio:</span> <span class="hljs-string">"-"</span>, <span class="hljs-meta"># 激活-新增转化率</span><br><span class="hljs-symbol">            newUserRadio:</span> <span class="hljs-string">"-"</span>,                <span class="hljs-meta"># 新增帐号</span><br><span class="hljs-symbol">            payArpuRadio:</span> <span class="hljs-string">"-"</span>,                <span class="hljs-meta"># 付费ARPU</span><br><span class="hljs-symbol">            payOnActiveUserRadioRadio:</span> <span class="hljs-string">"-"</span>,   <span class="hljs-meta"># 活跃付费率</span><br><span class="hljs-symbol">            payRadio:</span> <span class="hljs-string">"-"</span>,                    <span class="hljs-meta"># 付费金额</span><br><span class="hljs-symbol">            payUserRadio:</span> <span class="hljs-string">"-"</span>,                <span class="hljs-meta"># 付费帐号</span><br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"昨日数据"</span>                  <span class="hljs-meta"># 指标</span><br>        }<br>    ],<br><span class="hljs-symbol">    datas:</span> [    <span class="hljs-meta"># 总体数据</span><br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"新增账号数"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"3029"</span><br>        },<br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"活跃账号数"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"-"</span><br>        },<br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"付费金额"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"-"</span><br>        },<br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"付费账号数"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"-"</span><br>        },<br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"活跃付费率"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"-"</span><br>        },<br>        {<br><span class="hljs-symbol">            title:</span> <span class="hljs-string">"付费ARPU"</span>,<br><span class="hljs-symbol">            value:</span> <span class="hljs-string">"-"</span><br>        }<br>    ],<br><span class="hljs-symbol">    chartUIdata1:</span> {    <span class="hljs-meta"># 在线趋势</span><br><span class="hljs-symbol">        jsonStr:</span> <span class="hljs-string">"{"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":0,"</span>names<span class="hljs-string">":["</span>pc<span class="hljs-string">u","</span>ac<span class="hljs-string">u"],"</span>maxData<span class="hljs-string">":305,"</span>data<span class="hljs-string">":[[0,0],[3,305]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span> - <span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    },<br><span class="hljs-symbol">    chartUIdata3:</span> {    <span class="hljs-meta"># 活跃情况</span><br><span class="hljs-symbol">        jsonStr:</span> <span class="hljs-string">"{"</span>percent<span class="hljs-string">":0,"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":0,"</span>names<span class="hljs-string">":["</span>DNU-新用户<span class="hljs-string">","</span>DAU-老用户<span class="hljs-string">"],"</span>maxData<span class="hljs-string">":3014,"</span>data<span class="hljs-string">":[[15,3014],[0,6]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span> - <span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    },<br><span class="hljs-symbol">    chartUIdata2:</span> {    <span class="hljs-meta"># 留存情况</span><br><span class="hljs-symbol">        jsonStr:</span> <span class="hljs-string">"{"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":0,"</span>names<span class="hljs-string">":["</span>pc<span class="hljs-string">u","</span>ac<span class="hljs-string">u"],"</span>maxData<span class="hljs-string">":305,"</span>data<span class="hljs-string">":[[0,0],[3,305]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span> - <span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    },<br><span class="hljs-symbol">    chartUIdata5:</span> {    <span class="hljs-meta"># 付费情况</span><br><span class="hljs-symbol">        jsonStr:</span> <span class="hljs-string">"{"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":0,"</span>names<span class="hljs-string">":["</span>付费额<span class="hljs-string">"],"</span>maxData<span class="hljs-string">":0,"</span>data<span class="hljs-string">":[[0,0]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span> - <span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    },<br><span class="hljs-symbol">    chartUIdata4:</span> {    <span class="hljs-meta"># 游戏时长（m）</span><br><span class="hljs-symbol">        jsonStr:</span> <span class="hljs-string">"{"</span>percent<span class="hljs-string">":0,"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":83,"</span>names<span class="hljs-string">":["</span>人均在线时长<span class="hljs-string">"],"</span>maxData<span class="hljs-string">":115,"</span>data<span class="hljs-string">":[[115,83]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-18</span> - <span class="hljs-number">2016</span><span class="hljs-number">-05</span><span class="hljs-number">-19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    }<br>}<br></code></pre>

<hr>



<h3 id="ontabchange"><code>onTabChange</code></h3>

<p><strong>接口说明</strong> </p>

<pre class="prettyprint hljs-dark"><code class="hljs">在付费情况图表中标签时触发的操作。根据切换的标签标识查询并返回新的图表数据，以供前端更新<br></code></pre>

<p><strong>URL</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs crystal"><span class="hljs-symbol">http:</span>/<span class="hljs-regexp">/115.159.207.95:9080/bi</span><span class="hljs-regexp">/overviewReport/on</span>TabChange.<span class="hljs-keyword">do</span><br></code></pre>

<p><strong>请求参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs autoit"><span class="hljs-number">1.</span>  tabType： <span class="hljs-string">"pay"</span>  可选标签：  <span class="hljs-meta"># <span class="hljs-string">"付费额"</span>  = <span class="hljs-string">"pay"</span>,  <span class="hljs-string">"付费人数"</span> = <span class="hljs-string">"payUser"</span>,  <span class="hljs-string">"付费率&amp;新增当日付费率"</span> = <span class="hljs-string">"payRadio"</span>, <span class="hljs-string">"付费ARPU&amp;活跃ARPU"</span> = <span class="hljs-string">"payArpu"</span></span><br><span class="hljs-number">2.</span>  callback : <span class="hljs-string">""</span><br></code></pre>

<p><strong>返回参数</strong></p>

<pre class="prettyprint hljs-dark"><code class="hljs css">{<br>    <span class="hljs-attribute">res</span>: <span class="hljs-string">"0"</span>,<br>    chartUIdata5: {    # 付费情况<br>        jsonStr: <span class="hljs-string">"{"</span>columnkeys<span class="hljs-string">":["</span><span class="hljs-number">2016</span>-<span class="hljs-number">05</span>-<span class="hljs-number">18</span><span class="hljs-string">","</span><span class="hljs-number">2016</span>-<span class="hljs-number">05</span>-<span class="hljs-number">19</span><span class="hljs-string">"],"</span>minData<span class="hljs-string">":0,"</span>names<span class="hljs-string">":["</span>付费额<span class="hljs-string">"],"</span>maxData<span class="hljs-string">":0,"</span>data<span class="hljs-string">":[[0,0]],"</span>rowkeys<span class="hljs-string">":["</span>[日期]<span class="hljs-number">2016</span>-<span class="hljs-number">05</span>-<span class="hljs-number">18</span> - <span class="hljs-number">2016</span>-<span class="hljs-number">05</span>-<span class="hljs-number">19</span><span class="hljs-string">"],"</span>type<span class="hljs-string">":"</span>spline<span class="hljs-string">"}"</span><br>    }<br>}<br></code></pre></div></body></html>